home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Skunkware 5
/
Skunkware 5.iso
/
src
/
X11
/
wais
/
Makefile.bak
< prev
next >
Wrap
Makefile
|
1995-07-26
|
17KB
|
601 lines
# Makefile generated by imake - do not edit!
# $XConsortium: imake.c,v 1.74 92/12/02 21:32:49 rws Exp $
# -------------------------------------------------------------------------
# Makefile generated from "Imake.tmpl" and </tmp/IIf.a003PE>
# $XConsortium: Imake.tmpl,v 1.160 92/11/18 14:11:25 rws Exp $
#
# Platform-specific parameters may be set in the appropriate <vendor>.cf
# configuration files. Site-specific parameters should be set in the file
# site.def. Full rebuilds are recommended if any parameters are changed.
#
# If your C preprocessor does not define any unique symbols, you will need
# to set BOOTSTRAPCFLAGS when rebuilding imake (usually when doing
# "make World" the first time).
#
# -------------------------------------------------------------------------
# site-specific configuration parameters that need to come before
# the platform-specific parameters - edit site.def to change
# site: $XConsortium: site.def,v 1.2 91/07/30 20:26:44 rws Exp $
# -------------------------------------------------------------------------
# platform-specific configuration parameters - edit sco.cf to change
#
#
# Copyright (C) 1983-1991 The Santa Cruz Operation, Inc.
#
# The information in this file is provided for the exclusive use of the
# licensees of The Santa Cruz Operation, Inc. Such users have the right
# to use, modify, and incorporate this code into other products for
# purposes authorized by the license agreement provided they include this
# notice and the associated copyright notice with any such product. The
# information in this file is provided "AS IS" without warranty.
#
#
# platform: SCO sco.cf
# -------------------------------------------------------------------------
# site-specific configuration parameters that go after
# the platform-specific parameters - edit site.def to change
# site: $XConsortium: site.def,v 1.2 91/07/30 20:26:44 rws Exp $
SHELL = /bin/sh
TOP = .
CURRENT_DIR = .
AR = ar clq
ASM = as
BOOTSTRAPCFLAGS = -Dsco
CC = cc
AS = as
COMPRESS = compress
CPP = /lib/cpp $(STD_CPP_DEFINES)
PREPROCESSCMD = /lib/cpp -P $(ALLDEFINES) $(STD_CPP_DEFINES)
INSTALL = /usr/bin/X11/scoinst
LD = ld
LEX = lex
YACC = yacc
LINT = lint
LINTLIBFLAG = -o
LINTOPTS = -ax
LN = ln
MAKE = make
MV = mv
CP = cp
RM = rm -f
ASM_INCLUDES =
TROFF = psroff
MSMACROS = -ms
TBL = tbl
EQN = eqn
STD_INCLUDES =
STD_CPP_DEFINES = -Dsco -DSYSV
STD_DEFINES = -Dsco -DSYSV
EXTRA_LOAD_FLAGS =
EXTRA_LDOPTIONS =
EXTRA_LIBRARIES = -lsocket -lmalloc
TAGS = ctags
MFLAGS = -$(MAKEFLAGS)
PROTO_DEFINES =
INSTPGMFLAGS =
INSTBINFLAGS = -m 0755
INSTUIDFLAGS = -m 4755
INSTLIBFLAGS = -m 0644
INSTINCFLAGS = -m 0444
INSTMANFLAGS = -m 0444
INSTDATFLAGS = -m 0444
INSTKMEMFLAGS = -m 4755
ASMDEBUGFLAGS =
ASM_DEFINES =
CDEBUGFLAGS =
CCOPTIONS =
ALLINCLUDES = $(INCLUDES) $(EXTRA_INCLUDES) $(TOP_INCLUDES) $(STD_INCLUDES)
ALLDEFINES = $(ALLINCLUDES) $(STD_DEFINES) $(EXTRA_DEFINES) $(PROTO_DEFINES) $(DEFINES)
ASMFLAGS = $(ASMDEBUGFLAGS) $(ASM_DEFINES) $(ASM_INCLUDES)
CFLAGS = $(CDEBUGFLAGS) $(CCOPTIONS) $(ALLDEFINES)
LINTFLAGS = $(LINTOPTS) -DLINT $(ALLDEFINES)
LDLIBS = $(SYS_LIBRARIES) $(EXTRA_LIBRARIES)
LDOPTIONS = $(CDEBUGFLAGS) $(CCOPTIONS) $(EXTRA_LDOPTIONS) $(LOCAL_LDFLAGS)
LDCOMBINEFLAGS = -X -r
DEPENDFLAGS =
MACROFILE = sco.cf
RM_CMD = $(RM) *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a .emacs_* tags TAGS make.log MakeOut
IMAKE_DEFINES =
IRULESRC = $(CONFIGDIR)
IMAKE_CMD = $(IMAKE) -DUseInstalled -I$(IRULESRC) $(IMAKE_DEFINES)
ICONFIGFILES = $(IRULESRC)/Imake.tmpl $(IRULESRC)/Imake.rules \
$(IRULESRC)/Project.tmpl $(IRULESRC)/site.def \
$(IRULESRC)/$(MACROFILE) \
$(EXTRA_ICONFIGFILES)
# -------------------------------------------------------------------------
# X Window System Build Parameters
# $XConsortium: Project.tmpl,v 1.157 93/06/24 10:51:47 dpw Exp $
# -------------------------------------------------------------------------
# X Window System make variables; this need to be coordinated with rules
PATHSEP = /
USRLIBDIR = /usr/lib
SHLIBDIR = /usr/lib
BINDIR = /usr/bin/X11
INCROOT = /usr/include
BUILDINCROOT = $(TOP)
BUILDINCDIR = $(BUILDINCROOT)/X11
BUILDINCTOP = ..
INCDIR = $(INCROOT)/X11
ADMDIR = /usr/adm
LIBDIR = $(USRLIBDIR)/X11
CONFIGDIR = $(LIBDIR)/config
LINTLIBDIR = $(USRLIBDIR)/lint
FONTDIR = $(LIBDIR)/fonts
XINITDIR = $(LIBDIR)/xinit
XDMDIR = $(LIBDIR)/xdm
TWMDIR = $(LIBDIR)/twm
MANPATH = /usr/man
MANSOURCEPATH = $(MANPATH)/man
MANSUFFIX = n
LIBMANSUFFIX = 3
MANDIR = $(MANSOURCEPATH)$(MANSUFFIX)
LIBMANDIR = $(MANSOURCEPATH)$(LIBMANSUFFIX)
NLSDIR = $(LIBDIR)/nls
PEXAPIDIR = $(LIBDIR)/PEX
XAPPLOADDIR = $(LIBDIR)/app-defaults
FONTCFLAGS = -t
INSTAPPFLAGS = $(INSTDATFLAGS)
IMAKE = imake
DEPEND = makedepend
RGB = rgb
FONTC = bdftopcf
MKFONTDIR = mkfontdir
MKDIRHIER = /bin/sh $(BINDIR)/mkdirhier
CONFIGSRC = $(TOP)/config
DOCUTILSRC = $(TOP)/doc/util
CLIENTSRC = $(TOP)/clients
DEMOSRC = $(TOP)/demos
LIBSRC = $(TOP)/lib
FONTSRC = $(TOP)/fonts
INCLUDESRC = $(TOP)/X11
SERVERSRC = $(TOP)/server
UTILSRC = $(TOP)/util
SCRIPTSRC = $(UTILSRC)/scripts
EXAMPLESRC = $(TOP)/examples
CONTRIBSRC = $(TOP)/../contrib
DOCSRC = $(TOP)/doc
RGBSRC = $(TOP)/rgb
DEPENDSRC = $(UTILSRC)/makedepend
IMAKESRC = $(CONFIGSRC)
XAUTHSRC = $(LIBSRC)/Xau
XLIBSRC = $(LIBSRC)/X
XMUSRC = $(LIBSRC)/Xmu
TOOLKITSRC = $(LIBSRC)/Xt
AWIDGETSRC = $(LIBSRC)/Xaw
OLDXLIBSRC = $(LIBSRC)/oldX
XDMCPLIBSRC = $(LIBSRC)/Xdmcp
BDFTOPCFSRC = $(FONTSRC)/clients/bdftopcf
MKFONTDIRSRC = $(FONTSRC)/clients/mkfontdir
FSLIBSRC = $(FONTSRC)/lib/fs
FONTSERVERSRC = $(FONTSRC)/server
EXTENSIONSRC = $(TOP)/extensions
XILIBSRC = $(EXTENSIONSRC)/lib/xinput
XTESTLIBSRC = $(EXTENSIONSRC)/lib/xtest
PEXLIBSRC = $(EXTENSIONSRC)/lib/PEXlib
PHIGSLIBSRC = $(EXTENSIONSRC)/lib/PEX
DEPEXTENSIONLIB = $(USRLIBDIR)/libXext.a
EXTENSIONLIB = -lXext
DEPXLIB = $(DEPEXTENSIONLIB) $(USRLIBDIR)/libX11.a
XLIBONLY = -lX11
XLIB = $(EXTENSIONLIB) $(XLIBONLY) $(SCOMALLOC)
DEPXAUTHLIB = $(USRLIBDIR)/libXau.a
XAUTHLIB = -lXau
DEPXDMCPLIB = $(USRLIBDIR)/libXdmcp.a
XDMCPLIB = -lXdmcp
DEPXMULIB = $(USRLIBDIR)/libXmu.a
XMULIB = -lXmu
DEPOLDXLIB = $(USRLIBDIR)/liboldX.a
OLDXLIB = -loldX
DEPXTOOLLIB = $(USRLIBDIR)/libXt.a
XTOOLLIB = -lXt
DEPXAWLIB = $(USRLIBDIR)/libXaw.a
XAWLIB = -lXaw
DEPXILIB = $(USRLIBDIR)/libXi.a
XILIB = -lXi
DEPXTESTLIB = $(USRLIBDIR)/libXtst.a
XTESTLIB = -lXtst
DEPPEXLIB = $(USRLIBDIR)/libPEX5.a
PEXLIB = -lPEX5
DEPPHIGSLIB = $(USRLIBDIR)/libphigs.a
PHIGSLIB = -lphigs
DEPXBSDLIB = $(USRLIBDIR)/libXbsd.a
XBSDLIB = -lXbsd
LINTEXTENSIONLIB = $(LINTLIBDIR)/llib-lXext.ln
LINTXLIB = $(LINTLIBDIR)/llib-lX11.ln
LINTXMU = $(LINTLIBDIR)/llib-lXmu.ln
LINTXTOOL = $(LINTLIBDIR)/llib-lXt.ln
LINTXAW = $(LINTLIBDIR)/llib-lXaw.ln
LINTXI = $(LINTLIBDIR)/llib-lXi.ln
LINTPEX = $(LINTLIBDIR)/llib-lPEX5.ln
LINTPHIGS = $(LINTLIBDIR)/llib-lphigs.ln
#
# (c) Copyright 1989, 1990, 1991, 1992 OPEN SOFTWARE FOUNDATION, INC.
# ALL RIGHTS RESERVED
#
#
# Motif Release 1.2
#
# $RCSfile: Motif.tmpl,v $ $Revision: 1.5.2.3 $ $Date: 1992/04/10 21:02:42 $
# #ifndef XmClientLibs
# #if UseSharedLibraries
# #define XmClientLibs $(XTXMLIB) $(XMEXTRA_LIBS) $(XLIB)
# #else
# #define XmClientLibs $(XMLIB) $(XTOOLLIB) $(XMEXTRA_LIBS) $(XLIB)
# #endif
# #endif
# #ifndef XmClientDepLibs
# #if UseSharedLibraries
# #define XmClientDepLibs $(DEPXTXMLIB) $(DEPXLIB) $(DEPXMEXTRA_LIBS)
# #else
# #define XmClientDepLibs $(DEPXMLIB) $(DEPXTOOLLIB) $(DEPXLIB) $(DEPXMEXTRA_LIBS)
# #endif
# #endif
XTOP = $(TOP)
MTOP = $(TOP)
XBUILDINCROOT = $(XTOP)
XBUILDINCDIR = $(XBUILDINCROOT)/X11
CLIENTSRC = $(XTOP)/clients
DEMOSRC = $(XTOP)/demos
LIBSRC = $(XTOP)/lib
FONTSRC = $(XTOP)/fonts
INCLUDESRC = $(XTOP)/X11
SERVERSRC = $(XTOP)/server
UTILSRC = $(XTOP)/util
EXAMPLESRC = $(XTOP)/examples
DOCSRC = $(XTOP)/doc
RGBSRC = $(XTOP)/rgb
EXTENSIONSRC = $(XTOP)/extensions
USRINCDIR = /usr/include
UIDDIR = $(LIBDIR)/uid
TESTSRC = $(MTOP)/tests
GENERALSRCLIB = $(TESTSRC)/General/lib
GENERALSRCBIN = $(TESTSRC)/General/bin
MANUALSRCLIB = $(TESTSRC)/Manual/lib
MANUALSRCBIN = $(TESTSRC)/Manual/bin
AUTOSRCLIB = $(TESTSRC)/Auto/lib
AUTOSRCBIN = $(TESTSRC)/Auto/bin
COMMONPP = $(GENERALSRCBIN)/Commonpp
GENRUN = $(GENERALSRCBIN)/Genrun
TESTCOMSRC = $(AUTOSRCLIB)/Common
MTOOLKITSRC = $(TOOLKITSRC)
MINCLUDESRC = $(MTOP)/X11
MLIBSRC = $(MTOP)/lib
MCLIENTSRC = $(MTOP)/clients
MDEMOSRC = $(MTOP)/demos
MWIDGETSRC = $(MLIBSRC)/Xm
MRESOURCESRC = $(MLIBSRC)/Mrm
UILSRC = $(MCLIENTSRC)/uil
UIL = uil
DEPUIL = $(BINDIR)/uil
DEPXMLIB =
XMLIB = -lXm
DEPXTXMLIB =
XTXMLIB = -lXtXm_s
XMEXTRA_LIBS = $(XMULIB)
DEPXMEXTRA_LIBS = $(DEPXMULIB)
DEPMRESOURCELIB =
MRESOURCELIB = -lMrm
DEPUILLIB =
UILLIB = -lUil
TESTCOMLIB = $(TESTCOMSRC)/libCommon.a
AUTOSCRIPTSRC = $(AUTOSRCLIB)/Script
AUTOSCRIPTLIB = $(AUTOSCRIPTSRC)/libScript.a
AUTOSYNTHSRC = $(AUTOSRCLIB)/Synth
AUTOSYNTHLIB = $(AUTOSYNTHSRC)/libSynth.a
AUTOCREATESRC = $(AUTOSRCLIB)/Create
AUTOCREATELIB = $(AUTOCREATESRC)/libCreate.a
AUTOVISUALSRC = $(AUTOSRCLIB)/Visual
AUTOVISUALLIB = $(AUTOVISUALSRC)/libVisual.a
AUTOEXTRALIBS = -ll -ly -lm
LINTMRESOURCE = $(MRESOURCESRC)/libMrm.a
LINTXMWIDGETLIB = $(MWIDGETSRC)/llib-l/Xm.ln
LINTXMTOOL = $(MTOOLKITSRC)/llib-lXt.ln
LINTUILLIB = $(UILSRC)/llib-lUil.ln
YACCFLAGS =
RM_CMD = $(RM) *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a .emacs_* tags TAGS make.log MakeOut *.Dat *.Scr
STD_DEFINES = -Dsco -DSYSV
# -------------------------------------------------------------------------
# Imake rules for building libraries, programs, scripts, and data files
# rules: $XConsortium: Imake.rules,v 1.129 92/05/29 17:01:19 rws Exp $
# -------------------------------------------------------------------------
# start of Imakefile
# @(#) Imakefile 11.2 94/01/19
#
# Top level make of the WAIS system
# brewster 2/91
# jonathan 6/91
#
# S002, 14-Mar-95, kamalm@sco.com
# tweaked to build only the libraries that Mosaic needs
# S001, 19-Jan-94, hess
# remove waisgate, nolonger needed, Mosaic understands wais directly now.
# S000 18 Sep 1993 rr@sco.com
# Placed under SCCS and turned into an Imakefile
#
# $Log: Makefile,v $
# Revision 5.1 1992/07/10 21:29:30 curtisg
# Distributed version
#
# Revision 1.8 92/05/07 15:54:08 jonathan
# Updated for release.
#
# Revision 1.7 92/03/26 18:29:59 jonathan
# Fixed some broken make lines.
#
# Revision 1.6 92/03/07 19:45:01 jonathan
# Added recommendation for IBM.
#
# Revision 1.5 92/02/27 10:07:24 jonathan
# got rid of automatic setting of TOP. Used Simon's approach instead.
#
# Revision 1.4 92/02/13 12:27:53 jonathan
# Removed references to seeker.
#
# Revision 1.3 92/02/13 12:05:17 jonathan
# Removed release targets.
#
# Revision 1.2 92/02/13 11:57:56 jonathan
# Added $Log for RCS.
#
#
# common customizations:
# see the INCLUDES and DEFINES variables for pointers.
#
# to do:
# create the scripts, install the pointer to this version if it is the
# newest.
SUBDIRS = ftw ir
# SUBDIRS = ftw ir ui bin x doc
RELEASE = wais-8-b5
RM = /bin/rm -f
AR = ar
# on SGIs set this to true
RANLIB = true
# on IBM RS6000 this should be c89.
CC = cc $(EXTRA_LDOPTIONS)
SUPDIR = ../ir
# for old BSD add -DBSD
# for System V add -DSYSV
# for XENIX add -M3e -Zi
# for a little better security in the server, add -DSECURE_SERVER
# this sets the server user id to -u argument after startup.
# for relevance feedaback in the search engine, add -DRELEVANCE_FEEDBACK
# USG for Unix Dirent in lib
# for SGIs running IRIX 4.0.1, add -cckr
INCLUDES = -I$(SUPDIR)
DEFINES = -DSECURE_SERVER -DRELEVANCE_FEEDBACK -DUSG -DSYSV
MAKE = make
all:: config.h
config.h:: config
./config >config.h
config:: config.c
$(CC) -o config config.c
test::
@echo $(MAKE) CC=$(CC) "INCLUDES=$(INCLUDES) DEFINES=$(DEFINES)"
# Remove objects and library.
clean::
$(RM) *~
$(RM) \#*\#
$(RM) core
$(RM) TAGS
$(RM) -r SearchLog
$(RM) wais-sources/wais-docs*
$(RM) config config.h
$(RM) lib\/*.a
$(RM) lib/app-defaults\/*
rlocks::
$@
cd ir; $@
cd ui; $@
cd bin; $@
cd doc; $@
cd x; $@
depend::
@case '${MFLAGS}' in *[ik]*) set +e;; esac; \
for i in $(SUBDIRS) ;\
do \
(cd $$i ; echo "depending" "in $(CURRENT_DIR)/$$i..."; \
$(MAKE) $(MFLAGS) depend); \
done
all::
@case '${MFLAGS}' in *[ik]*) set +e;; esac; \
for i in $(SUBDIRS) ;\
do \
(cd $$i ; echo "making" all "in $(CURRENT_DIR)/$$i..."; \
$(MAKE) $(MFLAGS) 'CDEBUGFLAGS=$(CDEBUGFLAGS)' all); \
done
depend::
$(DEPEND) $(DEPENDFLAGS) -s "# DO NOT DELETE" -- $(ALLDEFINES) $(DEPEND_DEFINES) -- $(SRCS)
# -------------------------------------------------------------------------
# common rules for all Makefiles - do not edit
emptyrule::
clean::
$(RM_CMD) "#"*
Makefile::
-@if [ -f Makefile ]; then set -x; \
$(RM) Makefile.bak; $(MV) Makefile Makefile.bak; \
else exit 0; fi
$(IMAKE_CMD) -DTOPDIR=$(TOP) -DCURDIR=$(CURRENT_DIR)
tags::
$(TAGS) -w *.[ch]
$(TAGS) -xw *.[ch] > TAGS
# -------------------------------------------------------------------------
# rules for building in SUBDIRS - do not edit
install::
@case '${MFLAGS}' in *[ik]*) set +e;; esac; \
for i in $(SUBDIRS) ;\
do \
(cd $$i ; echo "installing" "in $(CURRENT_DIR)/$$i..."; \
$(MAKE) $(MFLAGS) DESTDIR='$(DESTDIR)' install); \
done
install.man::
@case '${MFLAGS}' in *[ik]*) set +e;; esac; \
for i in $(SUBDIRS) ;\
do \
(cd $$i ; echo "installing man pages" "in $(CURRENT_DIR)/$$i..."; \
$(MAKE) $(MFLAGS) DESTDIR='$(DESTDIR)' install.man); \
done
clean::
@case '${MFLAGS}' in *[ik]*) set +e;; esac; \
for i in $(SUBDIRS) ;\
do \
(cd $$i ; echo "cleaning" "in $(CURRENT_DIR)/$$i..."; \
$(MAKE) $(MFLAGS) RM_CMD='$(RM_CMD)' clean); \
done
tags::
@case '${MFLAGS}' in *[ik]*) set +e;; esac; \
for i in $(SUBDIRS) ;\
do \
(cd $$i ; echo "tagging" "in $(CURRENT_DIR)/$$i..."; \
$(MAKE) $(MFLAGS) TAGS='$(TAGS)' tags); \
done
Makefiles::
@case '${MFLAGS}' in *[ik]*) set +e;; esac; \
case '${MFLAGS}' in *n*) executeit="no";; esac; \
for i in $(SUBDIRS) ;\
do \
echo "making Makefiles in $(CURRENT_DIR)/$$i..."; \
case "$$i" in \
./?*/?*/?*/?*/?*/?*) newtop=../../../../../../;; \
./?*/?*/?*/?*/?*) newtop=../../../../../;; \
./?*/?*/?*/?*) newtop=../../../../;; \
./?*/?*/?*) newtop=../../../;; \
./?*/?*) newtop=../../;; \
./?*) newtop=../;; \
*/?*/?*/?*/?*/?*) newtop=../../../../../../;; \
*/?*/?*/?*/?*) newtop=../../../../../;; \
*/?*/?*/?*) newtop=../../../../;; \
*/?*/?*) newtop=../../../;; \
*/?*) newtop=../../;; \
*) newtop=../;; \
esac; \
case "$(TOP)" in \
/?*) imaketop= ;; \
*) imaketop=$$newtop ;; \
esac; \
cd $$i; \
$(RM) Makefile.bak; \
if [ -f Makefile ]; then \
echo " $(MV) Makefile Makefile.bak"; \
if [ "$$executeit" != "no" ]; then \
$(MV) Makefile Makefile.bak; \
fi; \
fi; \
if [ "$$executeit" != "no" ]; then \
$(IMAKE_CMD) -DTOPDIR=$$imaketop$(TOP) -DCURDIR=$(CURRENT_DIR)/$$i; \
fi; \
$(MAKE) $(MFLAGS) Makefiles; \
cd $$newtop; \
done
includes::
@case '${MFLAGS}' in *[ik]*) set +e;; esac; \
for i in $(SUBDIRS) ;\
do \
(cd $$i ; echo including "in $(CURRENT_DIR)/$$i..."; \
$(MAKE) $(MFLAGS) includes); \
done
# -------------------------------------------------------------------------
# dependencies generated by makedepend